package com.qiwx.pigeon.viewinterface;

import com.qiwx.pigeon.base.IBaseView;
import com.qiwx.pigeon.data.db.CageStatusRecord;
import com.qiwx.pigeon.data.vo.CageBean;
import com.qiwx.pigeon.data.vo.CageStatusRecordBean;
import com.qiwx.pigeon.data.vo.FertilizeBean;
import com.qiwx.pigeon.data.vo.pageinfo.PageInfo;

import java.util.List;

/**
 * @description
 * @Author qiwx
 * @Date 2020-04-26 10:00
 * 日常操作
 **/
public interface IOperateView extends IBaseView {

    static int ADD_TYPE_ADD_PIGEON_DEATH=1;
    static int ADD_TYPE_CLZT=2;
    static int ADD_TYPE_CHANGE=3;
    static int ADD_TYPE_BFD_BROKEN=4;
    static int ADD_TYPE_REPAIR=5;
    static int UPDATE_TYPE_=6;
    static int UPDATE_CHECK_EGG=7;//查蛋
    static int UPDATE_ADJUST=7;//调整鸽崽 给鸽崽调窝

    void onCheckEggSuccess(PageInfo<FertilizeBean> list);
    void onQueryCateStatusRecordSuccess(List<CageStatusRecordBean>list);
    void onSaveLayEggSuccess(int c_id);
    void onAddOperate(int type);//添加记录成功
    void onFailed(String error);

}
